package cn.lysj.framework.order.dto;

import cn.lysj.framework.common.validate.annotation.Min;
import cn.lysj.framework.common.validate.annotation.NotBlank;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Created by zk on 2018-11-05 15:04
 * @description 支付宝订单DTO
 */
@Data
public class AliOrderDto {
    @NotBlank(message = "请提供正确的商户Id")
    private String merchantId;//商户ID

    @Min(min = 0,message = "请提供大于0的金额")
    private BigDecimal totalAmount;//订单总金额

    private String body;//订单描述

    @NotBlank(message = "请提供订单主题")
    private String subject;//主题

    @NotBlank(message = "请提供餐桌Id")
    private String eatTableId;
    @NotBlank(message = "请提供门店Id")
    private String storeId;

}
